package study.spring.transaction.aop;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import study.spring.transaction.EditLink;

public class TranscationAOPMain {
	public static void main(String[] args) throws Exception{
		ApplicationContext context = new ClassPathXmlApplicationContext(
				"spring.xml", TranscationAOPMain.class);
		JdbcAOPService jdbcService;
		jdbcService = (JdbcAOPService) context.getBean("jdbcAOPService");
		EditLink t=new EditLink();
//		t.setName("");
		jdbcService.insert(t);
	}
}
